Skip to content

Add Emulator Overlay #8977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 68 commits into
base: main
Choose a base branch
from
Open

Add Emulator Overlay #8977

wants to merge 68 commits into from

Conversation

maneesht
Copy link
Contributor

@maneesht maneesht commented Apr 25, 2025

This adds an overlay to the bottom of the user's screen:

image

If the user is connected to the emulator, the image will always be shown. If the user is not connected to the emulator, but is on a cloud workstation, then the user will be shown that they are connected to prod.

Copy link

changeset-bot bot commented Apr 25, 2025

🦋 Changeset detected

Latest commit: a528caf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 30 packages
Name Type
@firebase/auth Patch
@firebase/firestore Patch
@firebase/util Patch
@firebase/database Patch
@firebase/storage Patch
@firebase/functions Patch
@firebase/auth-compat Patch
firebase Patch
@firebase/firestore-compat Patch
@firebase/analytics-compat Patch
@firebase/analytics Patch
@firebase/app-check-compat Patch
@firebase/app-check Patch
@firebase/app-compat Patch
@firebase/app Patch
@firebase/component Patch
@firebase/data-connect Patch
@firebase/database-compat Patch
@firebase/database-types Patch
@firebase/functions-compat Patch
@firebase/installations-compat Patch
@firebase/installations Patch
@firebase/messaging-compat Patch
@firebase/messaging Patch
@firebase/performance-compat Patch
@firebase/performance Patch
@firebase/remote-config-compat Patch
@firebase/remote-config Patch
@firebase/storage-compat Patch
@firebase/vertexai Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 25, 2025

Size Report 1

Affected Products

  • @firebase/app-check

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser26.7 kB26.7 kB-1 B (-0.0%)
    main27.7 kB27.7 kB-1 B (-0.0%)
    module26.7 kB26.7 kB-1 B (-0.0%)
  • @firebase/app-compat

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser5.33 kB5.33 kB-1 B (-0.0%)
    lite4.06 kB4.06 kB-1 B (-0.0%)
    main5.90 kB5.90 kB-1 B (-0.0%)
    module5.33 kB5.33 kB-1 B (-0.0%)
  • @firebase/auth

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser193 kB193 kB+100 B (+0.1%)
    cordova166 kB166 kB+60 B (+0.0%)
    main147 kB147 kB+44 B (+0.0%)
    module193 kB193 kB+100 B (+0.1%)
    react-native165 kB165 kB+44 B (+0.0%)
  • @firebase/auth-cordova

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser166 kB166 kB+60 B (+0.0%)
    module166 kB166 kB+60 B (+0.0%)
  • @firebase/auth-web-extension

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser142 kB142 kB+60 B (+0.0%)
    main159 kB159 kB+46 B (+0.0%)
    module142 kB142 kB+60 B (+0.0%)
  • @firebase/auth/internal

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser204 kB204 kB+100 B (+0.0%)
    main174 kB174 kB+46 B (+0.0%)
    module204 kB204 kB+100 B (+0.0%)
  • @firebase/database

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser249 kB250 kB+136 B (+0.1%)
    main254 kB255 kB+125 B (+0.0%)
    module249 kB250 kB+136 B (+0.1%)
  • @firebase/database-compat/standalone

    TypeBase (6a02778)Merge (21dccf8)Diff
    main366 kB367 kB+125 B (+0.0%)
  • @firebase/firestore

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser385 kB385 kB+133 B (+0.0%)
    main595 kB595 kB+114 B (+0.0%)
    module385 kB385 kB+133 B (+0.0%)
    react-native385 kB385 kB+137 B (+0.0%)
  • @firebase/firestore-lite

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser114 kB114 kB+127 B (+0.1%)
    main157 kB157 kB+114 B (+0.1%)
    module114 kB114 kB+127 B (+0.1%)
    react-native114 kB114 kB+130 B (+0.1%)
  • @firebase/functions

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser14.1 kB14.2 kB+100 B (+0.7%)
    main14.7 kB14.8 kB+89 B (+0.6%)
    module14.1 kB14.2 kB+100 B (+0.7%)
  • @firebase/storage

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser58.4 kB58.5 kB+96 B (+0.2%)
    main60.0 kB60.1 kB+85 B (+0.1%)
    module58.4 kB58.5 kB+96 B (+0.2%)
  • @firebase/util

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser23.5 kB29.8 kB+6.30 kB (+26.8%)
    main29.7 kB36.1 kB+6.41 kB (+21.6%)
    module23.5 kB29.8 kB+6.30 kB (+26.8%)
  • @firebase/vertexai

    TypeBase (6a02778)Merge (21dccf8)Diff
    browser34.7 kB36.0 kB+1.26 kB (+3.6%)
    main35.7 kB37.0 kB+1.28 kB (+3.6%)
    module34.7 kB36.0 kB+1.26 kB (+3.6%)
  • bundle

    37 size changes

    TypeBase (6a02778)Merge (21dccf8)Diff
    app-check (CustomProvider)37.8 kB37.8 kB-1 B (-0.0%)
    app-check (ReCaptchaEnterpriseProvider)40.3 kB40.3 kB-1 B (-0.0%)
    app-check (ReCaptchaV3Provider)40.3 kB40.3 kB-1 B (-0.0%)
    auth (GoogleFBTwitterGitHubPopup)105 kB110 kB+4.92 kB (+4.7%)
    database (Append to a list of data)150 kB155 kB+4.96 kB (+3.3%)
    database (Filtering data)149 kB154 kB+4.96 kB (+3.3%)
    database (Listen for child events)165 kB170 kB+4.96 kB (+3.0%)
    database (Listen for value events + Detach listeners)165 kB170 kB+4.96 kB (+3.0%)
    database (Listen for value events)165 kB170 kB+4.96 kB (+3.0%)
    database (Read data once)165 kB170 kB+4.96 kB (+3.0%)
    database (Save data as transactions)167 kB172 kB+4.96 kB (+3.0%)
    database (Sort data)151 kB156 kB+4.96 kB (+3.3%)
    database (Write data)149 kB154 kB+4.96 kB (+3.3%)
    firestore (CSI Auto Indexing Disable and Delete)275 kB280 kB+4.95 kB (+1.8%)
    firestore (CSI Auto Indexing Enable)275 kB280 kB+4.95 kB (+1.8%)
    firestore (Persistence)306 kB311 kB+4.95 kB (+1.6%)
    firestore (Query Cursors)252 kB257 kB+4.95 kB (+2.0%)
    firestore (Query)249 kB254 kB+4.95 kB (+2.0%)
    firestore (Read data once)237 kB242 kB+4.95 kB (+2.1%)
    firestore (Read Write w Persistence)331 kB336 kB+4.95 kB (+1.5%)
    firestore (Realtime updates)239 kB244 kB+4.95 kB (+2.1%)
    firestore (Transaction)216 kB221 kB+4.95 kB (+2.3%)
    firestore (Write data)216 kB221 kB+4.95 kB (+2.3%)
    firestore-lite (Query Cursors)105 kB110 kB+4.95 kB (+4.7%)
    firestore-lite (Query)101 kB106 kB+4.95 kB (+4.9%)
    firestore-lite (Read data once)76.3 kB81.2 kB+4.95 kB (+6.5%)
    firestore-lite (Transaction)102 kB107 kB+4.95 kB (+4.9%)
    firestore-lite (Write data)85.9 kB90.8 kB+4.95 kB (+5.8%)
    functions (call)35.0 kB39.9 kB+4.92 kB (+14.1%)
    storage (getBytes)42.8 kB47.7 kB+4.92 kB (+11.5%)
    storage (getDownloadURL)44.9 kB49.8 kB+4.92 kB (+11.0%)
    storage (getMetadata)44.3 kB49.3 kB+4.92 kB (+11.1%)
    storage (list + listAll)43.8 kB48.7 kB+4.92 kB (+11.2%)
    storage (updateMetadata)44.6 kB49.5 kB+4.92 kB (+11.0%)
    storage (uploadBytes)49.5 kB54.4 kB+4.92 kB (+9.9%)
    storage (uploadBytesResumable)59.4 kB64.3 kB+4.92 kB (+8.3%)
    storage (uploadString)49.7 kB54.6 kB+4.92 kB (+9.9%)

  • firebase

    19 size changes

    TypeBase (6a02778)Merge (21dccf8)Diff
    firebase-app-check-compat.js22.9 kB22.9 kB-1 B (-0.0%)
    firebase-app-check.js25.3 kB25.3 kB-1 B (-0.0%)
    firebase-app-compat.js31.8 kB31.8 kB-1 B (-0.0%)
    firebase-auth-compat.js141 kB146 kB+4.64 kB (+3.3%)
    firebase-auth-cordova.js138 kB143 kB+5.00 kB (+3.6%)
    firebase-auth-web-extension.js121 kB126 kB+5.00 kB (+4.1%)
    firebase-auth.js158 kB163 kB+5.04 kB (+3.2%)
    firebase-compat.js797 kB802 kB+4.82 kB (+0.6%)
    firebase-database-compat.js164 kB169 kB+4.71 kB (+2.9%)
    firebase-database.js187 kB192 kB+5.09 kB (+2.7%)
    firebase-firestore-compat.js342 kB347 kB+4.69 kB (+1.4%)
    firebase-firestore-lite.js133 kB138 kB+5.08 kB (+3.8%)
    firebase-firestore.js443 kB448 kB+5.08 kB (+1.1%)
    firebase-functions-compat.js10.5 kB15.2 kB+4.66 kB (+44.2%)
    firebase-functions.js15.0 kB20.1 kB+5.07 kB (+33.8%)
    firebase-performance-standalone-compat.js105 kB105 kB-1 B (-0.0%)
    firebase-storage-compat.js40.1 kB44.7 kB+4.64 kB (+11.6%)
    firebase-storage.js46.7 kB51.7 kB+5.04 kB (+10.8%)
    firebase-vertexai.js28.3 kB29.3 kB+1.03 kB (+3.6%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/jxngSceHyw.html

@maneesht maneesht requested a review from MarkDuckworth May 5, 2025 21:32
Copy link
Contributor

@MarkDuckworth MarkDuckworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM(firestore)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants